/**
 * 
 */
package com.robot.console.client.processors;

import com.go.core.Message;
import com.go.logging.Logs;
import com.robot.console.client.Client;
import com.robot.console.client.common.ISingleClientProcessor;
import com.robot.console.config.CommendParams;
import com.robot.console.core.ClientCommonParam;

/**
 * @author argpunk
 * 
 */
public class EchoProcessor implements ISingleClientProcessor
{
	@Override
	public void decode(Message message, Client client)
	{
		try
		{
			ClientCommonParam.printLogBack(message.getAttribute(CommendParams.ECHO).getValue());
		}
		catch (Exception ex)
		{
			Logs.warn(ex.toString());
		}
	}
}
